#ifndef _BOMB_EFFECT_H_
#define _BOMB_EFFECT_H_
#include "../effect.h"

namespace fireplane{
	class BombEffect : public Effect{
	public:
		BombEffect(EffectType type);
		~BombEffect();

	public:
		virtual void init(CreateCmd* cmd);
		void destroyThis();


		void initBomb0OrBomb1(CCPoint pos);
		void initBomb2( CCPoint pos,string path,int animationCount,CCRect rect);
	private:
		CCSprite* _bomb0;
		CCSprite* _bomb1;
	};
}

#endif